
<%= render :partial => "groups" %>
        
<%= link_to 'Previous page', { :page => @group_pages.current.previous } if @group_pages.current.previous %>
<%= link_to 'Next page', { :page => @group_pages.current.next } if @group_pages.current.next %>

<br />
<div id="new_group">
<%= link_to_remote 'New Group', :update => "new_group", :url => {:action => 'new'} %>
</div>
